import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: true,
  indexLabel: i18n.t('number'),
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('group.actName'),
      prop: 'activityName',
      search: true
    },
    {
      label: i18n.t('group.groupTime'),
      prop: 'startTime'
    },
    {
      label: i18n.t('group.groupNum'),
      prop: 'groupNumber',
      slot: true
    },
    {
      label: i18n.t('group.totalOrderAmount'),
      prop: 'totalPrice'
    },
    {
      label: i18n.t('group.orderStatus'),
      prop: 'status',
      dicData: [
        {
          label: i18n.t('group.waitGroupUnpay'),
          value: 0
        }, {
          label: i18n.t('group.inAGroup'),
          value: 1
        }, {
          label: i18n.t('group.succ'),
          value: 2
        }, {
          label: i18n.t('group.failGroup'),
          value: 3
        }
      ]
    }
  ]
}
